package com.xdl.backstage.base.entity;

import java.util.Date;

import com.xdl.backstage.base.domain.UserManager;

public class UserManagerEntity {

	 private String id;

	    private String code;

	    private String name;

	    private String sex;

	    private Date birthday;

	    private String phone;

	    private String pwd;

	    private Boolean isDelete;

	    private Boolean isOpen;

	    private String eMail;

	    private Date createTime;

	    private String createUser;

	    private Date updateTime;

	    private String updateUser;

	    private String companyStatus;

	    private CompanyEntity company;

	    public UserManagerEntity(UserManager data) {
	    	if (data != null) {
	    		this.setId(data.getId());
	    		this.setCode(data.getCode());
	    		this.setName(data.getName());
	    		this.setSex(data.getSex());
	    		this.setBirthday(data.getBirthday());
	    		this.setPhone(data.getPhone());
	    		this.setPwd(data.getPwd());
	    		this.setIsDelete(data.getIsDelete());
	    		this.setIsOpen(data.getIsOpen());
	    		this.seteMail(data.geteMail());
	    		this.setCreateTime(data.getCreateTime());
	    		this.setUpdateTime(data.getUpdateTime());
	    		this.setCreateUser(data.getCreateUser());
	    		this.setUpdateUser(data.getUpdateUser());
	    		this.setCompanyStatus(data.getCompanyStatus());
			}
	    }
	    
		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getSex() {
			return sex;
		}

		public void setSex(String sex) {
			this.sex = sex;
		}

		public Date getBirthday() {
			return birthday;
		}

		public void setBirthday(Date birthday) {
			this.birthday = birthday;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public String getPwd() {
			return pwd;
		}

		public void setPwd(String pwd) {
			this.pwd = pwd;
		}

		public Boolean getIsDelete() {
			return isDelete;
		}

		public void setIsDelete(Boolean isDelete) {
			this.isDelete = isDelete;
		}

		public Boolean getIsOpen() {
			return isOpen;
		}

		public void setIsOpen(Boolean isOpen) {
			this.isOpen = isOpen;
		}

		public String geteMail() {
			return eMail;
		}

		public void seteMail(String eMail) {
			this.eMail = eMail;
		}

		public Date getCreateTime() {
			return createTime;
		}

		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}

		public String getCreateUser() {
			return createUser;
		}

		public void setCreateUser(String createUser) {
			this.createUser = createUser;
		}

		public Date getUpdateTime() {
			return updateTime;
		}

		public void setUpdateTime(Date updateTime) {
			this.updateTime = updateTime;
		}

		public String getUpdateUser() {
			return updateUser;
		}

		public void setUpdateUser(String updateUser) {
			this.updateUser = updateUser;
		}

		public String getCompanyStatus() {
			return companyStatus;
		}

		public void setCompanyStatus(String companyStatus) {
			this.companyStatus = companyStatus;
		}

		public CompanyEntity getCompany() {
			return company;
		}

		public void setCompany(CompanyEntity company) {
			this.company = company;
		}
 
}
